package com.lhf.legalPlant.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.lhf.error.ErrorMessageVo;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 尐痞猫
 * @date2021-06-25 21:46
 */
@Data
public class FactoryUpdateVo {
    private Integer id;
    @NotBlank(message= ErrorMessageVo.BIANMABUNENGWEIKONG)
    private String  legalPlantCode;
    private String  legalPlantDec;
    @NotNull(message= ErrorMessageVo.ZHUANGTAIBUNENGWEIKONG)
    @JsonProperty("enabled")
    private Boolean enabled;
}
